package com.aconcagua.samples.charts.state.model {
  import flash.events.Event;

  public class ChartZoomEvent extends Event {
    public static const EVENT_NAME: String = "chart_zoom";
    
    private var _zoomFrom: Date;
    private var _zoomTo: Date;

    public function ChartZoomEvent(fromDate: Date, toDate: Date) {
      super(EVENT_NAME);
      _zoomFrom = fromDate;
      _zoomTo = toDate;
    }

    public function get zoomFrom(): Date {
      return _zoomFrom;
    }
    
    public function get zoomTo(): Date {
      return _zoomTo;
    }
  }
}